package page;
import java.time.LocalDate;
import java.util.ArrayList;
import java.util.spi.LocaleNameProvider;

public class Employee {
    int age;
    String name;

    public double getSalary() {
        return salary;
    }

    public void setSalary(double salary) {
        this.salary = salary;
    }

    double salary;
    LocalDate data = LocalDate.now();
    ArrayList<Integer> AA = new ArrayList<Integer>();
    
    public Employee(int age, String name){
        this.age = age;
        this.name =name;
    }

    public LocalDate getData() {
        return data;
    }
    public int getAge() {
        return age;
    }
    public void setAge(int age) {
        this.age = age;
    }
    public String getName() {
        return name;
    }
    public void setName(String name) {
        this.name = name;
    }

    @Override   //tostring
    public String toString() {
        return "Employee{" +
                "age=" + age +
                ", name='" + name + '\'' +
                ", salary=" + salary +
                ", data=" + data +
                ", AA=" + AA +
                '}';
    }
}
